<div id="sidebar">
  	<ul>
        <li><h3><a class="house">Dashboard</a></h3>
            <ul>
                <li><a href="<?php echo site_url('home', 'refresh'); ?>" class="report">Home</a></li>  
				<li><a href="<?php echo site_url("auth/logout"); ?>" class="user">Logout</a></li>
            </ul>
        </li>
		<?php
			$module_nav = $this->session->userdata('logged_in');
			$glo_gid = $module_nav['gid'];						
			if($glo_gid == 1): ?>
		<li><h3><a href="<?php echo site_url("users"); ?>" class="user">Users</a></h3>
			<ul>
                <li><a href="<?php echo site_url("users/create"); ?>" class="useradd">Add user</a></li>
                <li><a href="<?php echo site_url("group"); ?>" class="group">User groups</a></li>			          
            </ul>
        </li>
		<li><h3><a class="manage">Manage</a></h3>
          	<ul>
                <li><a href="<?php echo site_url('kiosk'); ?>" class="shipping">Kiosk</a></li>
                <li><a href="<?php echo site_url('fund'); ?>" class="promotions">Fund</a></li>
				<li><a href="<?php echo site_url('ads'); ?>" class="invoices">Ads</a></li>
				<li><a href="<?php echo site_url('firmware'); ?>" class="folder">Firmware</a></li>
				<li><a href="<?php echo site_url('statistic'); ?>" class="folder">Statistic</a></li>
				<li><a href="<?php echo site_url('trivia'); ?>" class="folder">Trivia game</a></li>
				<li><a href="<?php echo site_url('question'); ?>" class="folder">Question</a></li>
				<li><a href="<?php echo site_url('answer'); ?>" class="folder">Answer</a></li>
            </ul>
        </li>
		<li><h3><a href="<?php echo site_url("location"); ?>" class="manage">Location</a></h3>
			<ul>
				<li><a href="<?php echo site_url('country'); ?>" class="folder">Country</a></li>
				<li><a href="<?php echo site_url('city'); ?>" class="folder">City/Sate/Province</a></li>
				<li><a href="<?php echo site_url('district'); ?>" class="folder">District</a></li>				
            </ul>
        </li>	
		<?php endif; ?>
	</ul>
</div>